.Net Framework > v2.0.50727 > System > IO > FileInfo > Replace Replace(String,String)
Replace(String,String,Boolean)


Replace(String,String)

Category
Method
Description
Replaces the contents of a specified file with the file described by the current System.IO.FileInfo object, deleting the original file, and creating a backup of the replaced file.
Type
FileInfo
Character
public
Parameters
NameTypeDescription
destinationFileNameString
destinationBackupFileNameString
Attributes
NameValue/Assignment
ComVisibleAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Replace(String,String,Boolean)

Category
Method
Description
Replaces the contents of a specified file with the file described by the current System.IO.FileInfo object, deleting the original file, and creating a backup of the replaced file. Also specifies whether to ignore merge errors.
Type
FileInfo
Character
public
Parameters
NameTypeDescription
destinationFileNameString
destinationBackupFileNameString
ignoreMetadataErrorsBoolean
Attributes
NameValue/Assignment
ComVisibleAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database